package com.lmt.basic.utils;

import lombok.Data;

/**
 * @Description: TODO
 * @Author: Amazing
 * @Date: 2022/6/24 9:57
 * @Version: 1.0
 */
@Data
public class AjaxResult {
   private Boolean success= true;
   private String message = "操作成功!";

   public static AjaxResult getInstance() {
       return new AjaxResult();
   }

    public AjaxResult setSuccess(Boolean success) {
        this.success = success;
        return this;
    }

    public AjaxResult setMessage(String message) {
        this.message = message;
        return this;
    }
}
